﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dados.aspx.cs" Inherits="projetoFinal.pages.administracao.nivelAcesso.dados" %>
<%@ Register src="../../includes/menuLeft.ascx" tagname="menuLeft" tagprefix="menuEsquerda" %>
<%@ Register src="../../includes/menuTop.ascx" tagname="menuTop" tagprefix="menuTopo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head id="Head1" runat="server">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>ProAdmin</title>
		<!--// FOLLOWING SCRIPT IS FOR PNG FIX IE5.5/IE6-->
		<!--[if lt IE 7]>
			<script defer type="text/javascript" src="../../js/pngfix.js"></script> 
		<![endif]--> 
		<link href="../../css/styles.css" rel="stylesheet" type="text/css" />
		<script src="../../js/valida.js" type="text/javascript"></script>
	</head>
	<body>
	    <form id="frmDados" runat="server" defaultbutton="btnSalvar">
		    <!--// Horisontal submenu edit starts -->
		    <div class="bodytext" id="submenu"></div>
		    <!--// Horisontal submenu edit ends -->
		    <menuTopo:menuTop ID="menuTopo" runat="server" />
		    <!--// leftcolumn edit starts -->
		    <!--// Mainnavigation edit starts -->
		    <div id="leftcolumn">
			    <menuEsquerda:menuLeft ID="menuEsquerda" runat="server" />
		    </div>
		    <!--// leftcolumn edit ends -->
		    <!--// Copyright ends -->
		    <!--// leftcolumn ends -->
		    <!--// Content starts -->
		    <div id="content">
			    <table width="772" border="0" cellpadding="0" cellspacing="0">
				    <tr>
					    <th valign="middle" bgcolor="#E5E5E5" scope="col"><h1 align="left"><asp:Literal ID="lblTitulo" runat="server" /></h1></th> <!--// H1 Title -->
				    </tr>
			    </table>

			    <div id="tables"> <!--// Tables starts -->
				    <table width="746" cellspacing="0">
                        <tr>
						    <td colspan="4">
							    <div id="information" runat="server" visible="false"> <!--// information message -->
								    <table width="450" cellpadding="0" cellspacing="12">
									    <tr>
										    <td width="52"><div align="center"><img src="../../images/icons/information.png" alt="information" width="18" height="18" /></div></td>
										    <td width="388" class="bodytext style4"><strong><asp:Literal ID="lblTitleInformation" runat="server" /></strong> <asp:Literal ID="lblMessageInformation" runat="server" /></td>
									    </tr>
								    </table>
							    </div>
							    <br />
						    </td>
					    </tr>
					    <tr>
						    <td><div class="bodytext_fieldstitle" id="fieldlarge">Código</div></td>
					    </tr>
					    <tr>
						    <td><div id="large"><input name="txtCodigo" type="text" class="fields" id="txtCodigo" value="" runat="server" size="80" disabled="disabled" /></div></td>
					    </tr>
					    <tr>
						    <td><div class="bodytext_fieldstitle" id="fieldlarge">Descrição</div></td>
					    </tr>
					    <tr>
						    <td><div id="large"><input name="txtDescricao" type="text" class="fields" id="txtDescricao" runat="server" value="" validate="true" mensagem="Descrição em branco" size="80" /></div></td>
					    </tr>
					    <tr>
					        <td style="padding-left:20px;">
					            <asp:DataList ID="tblListagem" Width="706" CellSpacing="0" runat="server" onitemdatabound="tblListagem_ItemDataBound">
			                        <HeaderTemplate>
			                            <tr>
						                    <th width="100" height="40" class="title_table" scope="col">
							                    <div align="center" class="tabletitles">
								                    <div align="left">Módulo</div>
							                    </div>
						                    </th>
						                    <th width="37" height="40" class="title_table" scope="col">
							                    <div align="center" class="tabletitles">
								                    <div align="left">Leitura</div>
							                    </div>
						                    </th>
						                    <th width="37" height="40" class="title_table" scope="col">
							                    <div align="center" class="tabletitles">
								                    <div align="left">Criação</div>
							                    </div>
						                    </th>
						                    <th width="37" height="40" class="title_table" scope="col">
							                    <div align="center" class="tabletitles">
								                    <div align="left">Alteração</div>
							                    </div>
						                    </th>
						                    <th width="37" height="40" class="title_table" scope="col">
							                    <div align="center" class="tabletitles">
								                    <div align="left">Deleção</div>
							                    </div>
						                    </th>
					                    </tr>
			                        </HeaderTemplate>
			                        <ItemTemplate>
			                            <tr>
						                    <td height="40" class="bodytext">
							                    <div align="left">
								                    <blockquote>
									                    <blockquote>&nbsp;<asp:literal id="lblModulo" runat="server" /></blockquote>
									                    <input type="hidden" name="hdnModulo" id="hdnModulo" runat="server" />
									                    <input type="hidden" name="hdnCodNivelAcessoModulo" id="hdnCodNivelAcessoModulo" runat="server" />
								                    </blockquote>
							                    </div>
						                    </td>
						                    <td height="40" class="bodytext_table">
						                        <div align="center">
								                    <label></label>
								                    <input type="checkbox" name="chkRead" id="chkRead" runat="server" />
							                    </div>
						                    </td>
						                    <td height="40" class="bodytext_table">
						                        <div align="center">
								                    <label></label>
								                    <input type="checkbox" name="chkCreate" id="chkCreate" runat="server" />
							                    </div>
						                    </td>
						                    <td height="40" class="bodytext_table">
						                        <div align="center">
								                    <label></label>
								                    <input type="checkbox" name="chkUpdate" id="chkUpdate" runat="server" />
							                    </div>
						                    </td>
						                    <td height="40" class="bodytext_table">
						                        <div align="center">
								                    <label></label>
								                    <input type="checkbox" name="chkDelete" id="chkDelete" runat="server" />
							                    </div>
						                    </td>
					                    </tr>
			                        </ItemTemplate>
			                        <AlternatingItemTemplate>
			                            <tr>
						                    <td height="40" bgcolor="#E5E5E5" class="bodytext">
							                    <div align="left">
								                    <blockquote>
									                    <blockquote>&nbsp;<asp:literal id="lblModulo" runat="server" /></blockquote>
									                    <input type="hidden" name="hdnModulo" id="hdnModulo" runat="server" />
									                    <input type="hidden" name="hdnCodNivelAcessoModulo" id="hdnCodNivelAcessoModulo" runat="server" />
								                    </blockquote>
							                    </div>
						                    </td>
						                    <td height="40" bgcolor="#E5E5E5" class="bodytext_table">
						                        <div align="center">
								                    <label></label>
								                    <input type="checkbox" name="chkRead" id="chkRead" runat="server" />
							                    </div>
						                    </td>
						                    <td height="40" bgcolor="#E5E5E5" class="bodytext_table">
						                        <div align="center">
								                    <label></label>
								                    <input type="checkbox" name="chkCreate" id="chkCreate" runat="server" />
							                    </div>
						                    </td>
						                    <td height="40" bgcolor="#E5E5E5" class="bodytext_table">
						                        <div align="center">
								                    <label></label>
								                    <input type="checkbox" name="chkUpdate" id="chkUpdate" runat="server" />
							                    </div>
						                    </td>
						                    <td height="40" bgcolor="#E5E5E5" class="bodytext_table">
						                        <div align="center">
								                    <label></label>
								                    <input type="checkbox" name="chkDelete" id="chkDelete" runat="server" />
							                    </div>
						                    </td>
					                    </tr>
                                    </AlternatingItemTemplate>
			                    </asp:DataList>
			                    <br />
					        </td>
					    </tr>
					    <tr>
						    <td>
							    <div style="padding-left:20px;">
							        <asp:Button ID="btnSalvar" runat="server" CssClass="button" Text="Salvar" onclick="btnSalvar_Click" />
								    <input name="btnVoltar" type="button" class="button" id="btnVoltar" value="Voltar" onclick="javascript:window.location = 'listagem.aspx';" />
							    </div>
						    </td>
					    </tr>
				    </table>
				    <br />
				    <hr />
			    </div>
			    <!--// Tables ends -->
			    <p class="bodytext">&nbsp;</p>
			    <h1><br /></h1>
		    </div>
		    <!--// content ends -->  
		</form>
	</body>
</html>